package com.mostromas.ess.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mostromas.ess.entities.ProjectCardNumber;
import com.mostromas.ess.project.req.ProjectCardNumberREQ;
import com.mostromas.ess.util.base.Result;

import java.util.List;

public interface IProjectCardNumberService extends IService<ProjectCardNumber> {

    /**
     * 分页查询卡密信息
     * @param req
     * @return
     */
    Result queryList(ProjectCardNumberREQ req);

    Result saveList(List<ProjectCardNumber> list) ;

    /**
     * 根据软件ID和卡号查询是否有效
     * @param req
     * @return
     */
    ProjectCardNumber checkCardNumberByProjectId(ProjectCardNumberREQ req);
}
